package cn.lonecloud.model;

import java.io.Serializable;
import java.util.Date;

/**
 * 购买信息
 */
public class Retail implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3953056259469015902L;

	private int id;//主键
	
	private User user;//购买用户
	
	private Product product;//商品Id
	
	private Date buyTime;//购买时间
	
	private int count;//购买数量

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Product getProduct() {
		return product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public Date getBuyTime() {
		return buyTime;
	}

	public void setBuyTime(Date buyTime) {
		this.buyTime = buyTime;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}
	
	
}
